Home
last modified time | relevance | path

Searched hist:e388466de4a2a1a50c43bfaeacc0c8254d9e7cb2 (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Drmap.hdiff e388466de4a2a1a50c43bfaeacc0c8254d9e7cb2 Thu Mar 17 22:20:07 CET 2016 Kirill A. Shutemov <kirill.shutemov@linux.intel.com> mm: make remove_migration_ptes() beyond mm/migration.c

Make remove_migration_ptes() available to be used in split_huge_page().

New parameter 'locked' added: as with try_to_umap() we need a way to
indicate that caller holds rmap lock.

We also shouldn't try to mlock() pte-mapped huge pages: pte-mapeed THP
pages are never mlocked.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/linux/mm/
H A Dmigrate.cdiff e388466de4a2a1a50c43bfaeacc0c8254d9e7cb2 Thu Mar 17 22:20:07 CET 2016 Kirill A. Shutemov <kirill.shutemov@linux.intel.com> mm: make remove_migration_ptes() beyond mm/migration.c

Make remove_migration_ptes() available to be used in split_huge_page().

New parameter 'locked' added: as with try_to_umap() we need a way to
indicate that caller holds rmap lock.

We also shouldn't try to mlock() pte-mapped huge pages: pte-mapeed THP
pages are never mlocked.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>